package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 处理器日志表
 * </p>
 *
 * @author chenhc
 * @since 2025-03-28
 */
@Data
@TableName("processors_log")
@ApiModel("处理器日志表")
public class ProcessorsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    private Integer processorId;

    /**
     * 插入时间
     */
    private LocalDateTime inserted;

    @TableField("entPhysicalIndex")
    private Integer entPhysicalIndex;

    @TableField("hrDeviceIndex")
    private Integer hrDeviceIndex;

    private Integer deviceId;

    private String processorOid;

    private String processorIndex;

    private String processorType;

    private Integer processorUsage;

    private String processorDescr;

    private Integer processorPrecision;

    private Integer processorPercWarn;
}
